package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Students7Mapper;
import com.ruoyi.system.domain.Students7;
import com.ruoyi.system.service.IStudents7Service;

/**
 * 学生表7Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-14
 */
@Service
public class Students7ServiceImpl implements IStudents7Service 
{
    @Autowired
    private Students7Mapper students7Mapper;

    /**
     * 查询学生表7
     * 
     * @param studentId 学生表7主键
     * @return 学生表7
     */
    @Override
    public Students7 selectStudents7ByStudentId(Long studentId)
    {
        return students7Mapper.selectStudents7ByStudentId(studentId);
    }

    /**
     * 查询学生表7列表
     * 
     * @param students7 学生表7
     * @return 学生表7
     */
    @Override
    public List<Students7> selectStudents7List(Students7 students7)
    {
        return students7Mapper.selectStudents7List(students7);
    }

    /**
     * 新增学生表7
     * 
     * @param students7 学生表7
     * @return 结果
     */
    @Override
    public int insertStudents7(Students7 students7)
    {
        return students7Mapper.insertStudents7(students7);
    }

    /**
     * 修改学生表7
     * 
     * @param students7 学生表7
     * @return 结果
     */
    @Override
    public int updateStudents7(Students7 students7)
    {
        return students7Mapper.updateStudents7(students7);
    }

    /**
     * 批量删除学生表7
     * 
     * @param studentIds 需要删除的学生表7主键
     * @return 结果
     */
    @Override
    public int deleteStudents7ByStudentIds(Long[] studentIds)
    {
        return students7Mapper.deleteStudents7ByStudentIds(studentIds);
    }

    /**
     * 删除学生表7信息
     * 
     * @param studentId 学生表7主键
     * @return 结果
     */
    @Override
    public int deleteStudents7ByStudentId(Long studentId)
    {
        return students7Mapper.deleteStudents7ByStudentId(studentId);
    }
}
